package com.printeverywhere.dto;

/**
 * AffiliateSettings entity.
 *
 * @author MyEclipse Persistence Tools
 */

public class AffiliateSettings implements java.io.Serializable {

	// Fields

	private Integer id;
	private Boolean isPercentage;
	private Boolean isBonus;
	private Double bonusAmount;
	private Double bonusPercentage;
	private Integer percentageValidTill;
	private Integer bonusValidTill;
	private Double percentageChange;

	// Constructors

	/** default constructor */
	public AffiliateSettings() {
	}

	/** minimal constructor */
	public AffiliateSettings(Boolean isPercentage) {
		this.isPercentage = isPercentage;
	}

	/** full constructor */
	public AffiliateSettings(Boolean isPercentage, Boolean isBonus,
			Double bonusAmount, Double bonusPercentage, Integer percentageValidTill,
			Integer bonusValidTill, Double percentageChange) {
		this.isPercentage = isPercentage;
		this.isBonus = isBonus;
		this.bonusAmount = bonusAmount;
		this.bonusPercentage = bonusPercentage;
		this.percentageValidTill = percentageValidTill;
		this.bonusValidTill = bonusValidTill;
		this.percentageChange = percentageChange;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Boolean getIsPercentage() {
		return this.isPercentage;
	}

	public void setIsPercentage(Boolean isPercentage) {
		this.isPercentage = isPercentage;
	}

	public Double getBonusAmount() {
		return this.bonusAmount;
	}

	public void setBonusAmount(Double bonusAmount) {
		this.bonusAmount = bonusAmount;
	}

	public Double getBonusPercentage() {
		return this.bonusPercentage;
	}

	public void setBonusPercentage(Double bonusPercentage) {
		this.bonusPercentage = bonusPercentage;
	}

	public Double getPercentageChange() {
		return this.percentageChange;
	}

	public void setPercentageChange(Double percentageChange) {
		this.percentageChange = percentageChange;
	}

	public Boolean getIsBonus() {
		return isBonus;
	}

	public void setIsBonus(Boolean isBonus) {
		this.isBonus = isBonus;
	}

	public Integer getPercentageValidTill() {
		return percentageValidTill;
	}

	public void setPercentageValidTill(Integer percentageValidTill) {
		this.percentageValidTill = percentageValidTill;
	}

	public Integer getBonusValidTill() {
		return bonusValidTill;
	}

	public void setBonusValidTill(Integer bonusValidTill) {
		this.bonusValidTill = bonusValidTill;
	}

}